From ba35e67845f935c8ce0151c9ef1fefa0b0510faf Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Mon, 22 Sep 2025 18:59:13 +0900
Subject: (김준회) AVL 피드백 반영 (이진용 프로 건)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx | 66 ++++++++++-----------------
 1 file changed, 23 insertions(+), 43 deletions(-)

(limited to 'app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx')

diff --git a/app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx b/app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx
index f8df3c49..7152bdc2 100644
--- a/app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx
+++ b/app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx
@@ -1,11 +1,6 @@
 "use client"
 
 import { useEffect, useState } from "react"
-import {
-  ResizablePanelGroup,
-  ResizablePanel,
-  ResizableHandle,
-} from "@/components/ui/resizable"
 import { AvlTable } from "@/lib/avl/table/avl-table"
 import { AvlRegistrationArea } from "@/lib/avl/table/avl-registration-area"
 import { getAvlLists } from "@/lib/avl/service"
@@ -21,7 +16,6 @@ export function AvlPageClient({ initialData }: AvlPageClientProps) {
   const [avlListData, setAvlListData] = useState<AvlListItem[]>(initialData)
   const [isLoading, setIsLoading] = useState(false)
   const [registrationMode, setRegistrationMode] = useState<'standard' | 'project' | null>(null)
-  const [selectedAvlRow, setSelectedAvlRow] = useState<AvlListItem | null>(null)
 
   // 초기 데이터 설정
   useEffect(() => {
@@ -71,47 +65,33 @@ export function AvlPageClient({ initialData }: AvlPageClientProps) {
     setRegistrationMode(mode)
   }
 
-  // 행 선택 핸들러
-  const handleRowSelect = (selectedRow: AvlListItem | null) => {
-    setSelectedAvlRow(selectedRow)
-  }
+  // 행 선택 핸들러 (현재는 사용하지 않지만 향후 확장 대비)
+  const handleRowSelect = () => {}
 
   return (
-    <div className="h-screen flex flex-col">
-      <div className="flex-1 overflow-hidden">
-
-
-        {/* info button and header section */}
-        <div className="flex items-center gap-2 mt-2">
-          <h2 className="text-2xl font-bold tracking-tight">
-            AVL(Approved Vendor List) 목록
-          </h2>
-          <InformationButton pagePath="evcp/avl" />
-        </div>
-
-        <ResizablePanelGroup direction="vertical" className="h-full">
-          {/* 상단 패널: AVL 목록 */}
-          <ResizablePanel defaultSize={40} minSize={20}>
-            <div className="h-full p-4">
-              <AvlTable
-                data={avlListData}
-                onRefresh={handleRefresh}
-                isLoading={isLoading}
-                onRegistrationModeChange={handleRegistrationModeChange}
-                onRowSelect={handleRowSelect}
-              />
-            </div>
-          </ResizablePanel>
+    <div className="min-h-screen">
+      {/* info button and header section */}
+      <div className="flex items-center gap-2 mt-2">
+        <h2 className="text-2xl font-bold tracking-tight">
+          AVL(Approved Vendor List) 목록
+        </h2>
+        <InformationButton pagePath="evcp/avl" />
+      </div>
 
-          <ResizableHandle withHandle />
+      {/* 상단: AVL 목록 */}
+      <div className="p-4">
+        <AvlTable
+          data={avlListData}
+          onRefresh={handleRefresh}
+          isLoading={isLoading}
+          onRegistrationModeChange={handleRegistrationModeChange}
+          onRowSelect={handleRowSelect}
+        />
+      </div>
 
-          {/* 하단 패널: AVL 등록 */}
-          <ResizablePanel defaultSize={60} minSize={30}>
-            <div className="h-full p-4 overflow-x-auto overflow-y-hidden">
-              <AvlRegistrationArea disabled={registrationMode === null} />
-            </div>
-          </ResizablePanel>
-        </ResizablePanelGroup>
+      {/* 하단: AVL 등록 */}
+      <div className="p-4 overflow-x-auto">
+        <AvlRegistrationArea disabled={registrationMode === null} />
       </div>
     </div>
   )
-- 
cgit v1.2.3

